package com.lasgana.cx.models;

import java.util.Calendar;
import java.util.List;

import lombok.Data;

import com.google.appengine.repackaged.com.google.common.collect.Lists;

@Data
public class Roster {
    private Calendar month;             // 06/13
    private String rosterName;          // HUNG SS
    private List<String> duty;          // [807,,SB,PG,G,G,919,G,NB,791]
    private List<String> specialDuty;   // [,,,,G,,,,PX,,,,BD,,,]

    public Roster(Calendar month) {
        this.month = month;
        duty = Lists.newArrayListWithCapacity(month.getActualMaximum(Calendar.DAY_OF_MONTH));
        specialDuty = Lists.newArrayListWithCapacity(month.getActualMaximum(Calendar.DAY_OF_MONTH));
    }
}
